package bb.lanxing.util.chart;

import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineDataSet;
import com.github.mikephil.charting.utils.Utils;
import java.util.List;

public class LineMarkerDataSet extends LineDataSet {
    private int makerColor;
    private float markerRadius;
    private int markerTextColor;
    private float markerTextSize;
    private float verticalPadding;

    public LineMarkerDataSet(List<Entry> yVals, String label) {
        super(yVals, label);
    }

    public float getMarkerRadius() {
        return this.markerRadius;
    }

    public void setMarkerRadius(float markerRadius) {
        this.markerRadius = Utils.convertDpToPixel(markerRadius);
    }

    public float getVerticalPadding() {
        return this.verticalPadding;
    }

    public void setVerticalPadding(float verticalPadding) {
        this.verticalPadding = Utils.convertDpToPixel(verticalPadding);
    }

    public int getMakerColor() {
        return this.makerColor;
    }

    public void setMakerColor(int makerColor) {
        this.makerColor = makerColor;
    }

    public int getMarkerTextColor() {
        return this.markerTextColor;
    }

    public void setMarkerTextColor(int markerTextColor) {
        this.markerTextColor = markerTextColor;
    }

    public float getMarkerTextSize() {
        return this.markerTextSize;
    }

    public void setMarkerTextSize(float markerTextSize) {
        this.markerTextSize = Utils.convertDpToPixel(markerTextSize);
    }
}
